<?php
class StoreModel extends Model {
	 protected $_validate = array(
        array('name', 'require', '店铺名称为空！', 1),//1为必须验证
        array('phone', 'require', '手机号码为空'),
    );
}